package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 书籍分类对象 category
 *
 * @author ruoyi
 * @date 2022-12-08
 */
@Data
@Accessors(chain = true)
public class Category extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id 主键自增 */
    private Long id;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String categoryName;

    /** 分类等级 */
    @Excel(name = "分类等级",dictType = "category_level")
    private Long level;

    /** 父级ID */
    @Excel(name = "父级ID")
    private Long parentId;

    /** 排序号 */
    @Excel(name = "排序号")
    private Long orderNum;
}
